/* flex */
.flex {
	display: flex;
}
.flex-align-center {
	align-items: center;
}
.flex-center {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}
.flex-column {
	flex-direction: column;
}
.flex-jc-aic {
	align-items: center;
	justify-content: center;
}
.flex-jsb-aic {
	align-items: center;
	justify-content: space-between;
}
.flex-wrap {
	flex-wrap: wrap;
}

/* clearfix */
.clearfix::after {
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
	content: '';
}

/* 文字单行省略号 */
.sle {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 文字多行省略号 */
.mle {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* 文字多了自動換行 */
.break-word {
	word-break: break-all;
	word-wrap: break-word;
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
	transition: all 0.2s;
}
.fade-transform-enter-from {
	opacity: 0;
	transition: all 0.2s;
	transform: translateX(-30px);
}
.fade-transform-leave-to {
	opacity: 0;
	transition: all 0.2s;
	transform: translateX(30px);
}

/* Breadcrumb */
.breadcrumb-enter-active,
.breadcrumb-leave-active {
	transition: all 0.2s ease;
}
.breadcrumb-enter-from,
.breadcrumb-leave-active {
	opacity: 0;
	transform: translateX(10px);
}
.breadcrumb-leave-active {
	position: absolute;
	z-index: -1;
}

/* scroll bar */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
	background-color: white;
}
::-webkit-scrollbar-thumb {
	background-color: #dddee0;
	border-radius: 20px;
	box-shadow: inset 0 0 0 white;
}

/* nprogress样式 */
#nprogress .bar {
	background: var(--el-color-primary) !important;
}
#nprogress .spinner-icon {
	border-top-color: var(--el-color-primary) !important;
	border-left-color: var(--el-color-primary) !important;
}
#nprogress .peg {
	box-shadow: 0 0 10px var(--el-color-primary), 0 0 5px var(--el-color-primary) !important;
}
.list-main {
	box-sizing: border-box;
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
.flex1 {
	flex: 1;
}

// 简单共用样式
.w100 {
	width: 100%;
}
.h100 {
	height: 100%;
}
.h90 {
	height: 90%;
}
.mb10 {
	margin-bottom: 10px;
}
.mr10 {
	margin-right: 10px;
}
.ml10 {
	margin-left: 10px;
}
.mt10 {
	margin-top: 10px;
}
.ml8 {
	margin-left: 8px;
}
.fwb {
	font-weight: bold;
}
.fs12 {
	font-size: 12px;
}
.fs14 {
	font-size: 14px;
}
.fs16 {
	font-size: 16px;
}
.text-c {
	text-align: center;
}
.text-r {
	text-align: right;
}
.pr {
	position: relative;
}
.pad8 {
	padding: 8px;
}
.pad12 {
	padding: 12px;
}
.border-top {
	border-top: 1px solid var(--el-border-color);
}
.border-bottom {
	border-bottom: 1px solid var(--el-border-color);
}
.border-left {
	border-left: 1px solid var(--el-border-color);
}
.border-right {
	border-right: 1px solid var(--el-border-color);
}
.success-color {
	color: var(--el-color-success);
}
.danger-color {
	color: var(--el-color-danger);
}
.primary-color {
	color: $primary-color;
}
.bgc-f {
	background-color: #ffffff;
}
.cursor-p {
	cursor: pointer;
}
